//
//  UIColor+RJColor.h
//  GRJSummary1
//
//  Created by apple on 16/8/31.
//  Copyright © 2016年 Change. All rights reserved.
//

#import <UIKit/UIKit.h>

#define GRJColor(r , g, b) [UIColor colorWithRed: (r) / 255.0 green:(g) / 255.0 blue:(b) / 255.0 alpha:1]

@interface UIColor (RJColor)

// 默认alpha位1
+ (UIColor *)colorWithHexString:(NSString *)color;

//从十六进制字符串获取颜色，
//color:支持@“#123456”、 @“0X123456”、 @“123456”三种格式
+ (UIColor *)colorWithHexString:(NSString *)color alpha:(CGFloat)alpha;

+(UIColor *) randomColor;
@end
